package cn.baimo.service.serviceImpl;

import cn.baimo.mapper.RegistrationMapper;
import cn.baimo.service.RegistrationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RegistrationServiceImpl implements RegistrationService {
    @Autowired
    private RegistrationMapper registrationMapper;

    @Override
    public int selectRegistrationTotalNum() {
        return registrationMapper.selectRegistrationTotalNum();
    }

    @Override
    public int selectRegistrationTotalNumByHid(int id) {
        return registrationMapper.selectRegistrationTotalNumByHid(id);
    }
}
